From: Dmitry Dzhus Date: Wed, 29 Jul 2009 09:14:13 +0000 (+0000) Subject: (gdb-goto-breakpoint): Use full path when setting breakpoints. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~11273 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=ddced3558c353bcce7b2ca84326e61ee2051409a;p=emacs.git (gdb-goto-breakpoint): Use full path when setting breakpoints. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 65ec9048b3f..a8e120333f7 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2009-07-29 Dmitry Dzhus + + * progmodes/gdb-mi.el (gdb-goto-breakpoint): Use full path when + setting breakpoints. + 2009-07-29 Jay Belanger * calc/calc.el (calc-mode-map): Add keybinding for diff --git a/lisp/progmodes/gdb-mi.el b/lisp/progmodes/gdb-mi.el index 4ffcb07ce93..c4a6134257f 100644 --- a/lisp/progmodes/gdb-mi.el +++ b/lisp/progmodes/gdb-mi.el @@ -2494,7 +2494,7 @@ breakpoints buffer." (let ((breakpoint (get-text-property (point) 'gdb-breakpoint))) (if breakpoint (let ((bptno (gdb-get-field breakpoint 'number)) - (file (gdb-get-field breakpoint 'file)) + (file (gdb-get-field breakpoint 'fullname)) (line (gdb-get-field breakpoint 'line))) (save-selected-window (let* ((buffer (find-file-noselect